package com.open.capacity.activity.service;

import com.open.capacity.common.model.Activity;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

/**
 * @program: open-capacity-platform
 * @description:
 * @author: bellweather
 * @create: 2021-01-18 16:21
 **/
public interface ActivityService {

    List<Activity> getList(Map<String,Object> params);

    int save(Activity activity);

    int update(Activity activity);

    int delete(int id,int deleted);

    int realdelete(int id);
}
